﻿using Ducu.GLB.Global;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Ducu.UI.Responsible.WebHelper
{
    public static class DayIconHelper
    {
        public static string GetClassName(Status status)
        {
            string className = "glyphicon "; /* notice the space */
            switch (status)
            {
                case Status.NotComplte:
                    className = className + "glyphicon-remove";
                    break;
                case Status.WaitAccept:
                    className = className + "glyphicon-check";
                    break;
                case Status.Accepted:
                    className = className + "glyphicon-thumbs-up";
                    break;
                case Status.Refused:
                    className = className + "glyphicon-thumbs-down";
                    break;
                case Status.Resume:
                    className = className + "glyphicon-check gray";
                    break;
                case Status.Future:
                    className = className + "glyphicon glyphicon-unchecked";
                    break;
                case Status.Rest:
                    className = className + "glyphicon-ban-circle";
                    break;
                case Status.Question:
                    className = className + "glyphicon-question-sign";
                    break;
                case Status.Leave:
                    className = className + "glyphicon-sound-5-1";
                    break;
            }
            return className;
        }
    }
}